ostadmin: fix command line handling in the builtins
authorGiovanni Campagna <gcampagna@src.gnome.org>
Mon, 13 Aug 2012 21:45:03 +0000 (23:45 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Sat, 18 Aug 2012 17:21:22 +0000 (19:21 +0200)
commitedf69d6283cf4fc2eab7a471b71a89a5ed5e2b3f
tree5ea87531a14fe12e642fab2aa7f3bbdf11616533
parent22aa38a7da09e1d2ebecec995c0b638fe863485f
ostadmin: fix command line handling in the builtins

Common code was duplicating the command name and not shifting
arguments properly, which thus required the builtins to be aware
of it, instead of being treated like subcommands.
src/ostadmin/ot-admin-builtin-deploy.c
src/ostadmin/ot-admin-main.c